org\wplake\acf_views\Common\Cpt\SaveActions A

Total Complexity 65
Dependencies 5
Dependents 1
Total lines 438
Lines of code 255
Logical lines of code 149
Comment lines 55
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
getAcfFieldFromInstance()
S
51 7 26
skipSavingToPostMeta()
S
54 6 24
isMyPost()
S
61 6 13
updateTranslationsFile()
S
52 5 24
saveMetaField()
S
55 5 19
getTranslationsFromMarkup()
S
47 3 42
loadFieldsFromPostContent()
S
56 4 18
customValidation()
S
62 4 13
catchFieldValue()
S
62 4 11
validateSubmission()
S
60 3 15
setHooks()
S
62 3 11
getAcfAjaxPostId()
S
67 3 8
maybeSetUniqueId()
S
62 2 11
__construct()
S
67 1 8
saveCaughtFields()
S
76 1 4
getCptName()
S
100 1 0
addValidationError()
S
74 1 4
performSaveActions()
S
100 1 0
updateMarkup()
S
100 1 0
makeValidationInstance()
S
100 1 0
getCustomMarkupAcfFieldName()
S
100 1 0
getTranslatableLabels()
S
100 1 0
loadValidationDataInstanceFromCurrentValues()
S
75 1 4